ostree admin: Fix return value from 'ostree admin [instutil]'
authorOwen W. Taylor <otaylor@fishsoup.net>
Tue, 23 Sep 2014 15:58:27 +0000 (11:58 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 25 Sep 2014 07:08:06 +0000 (03:08 -0400)
commit40f490ed11febb72182b125c67a86b5f634211b6
tree1f4affab5bd32500fdfe9bc17110a13d529134de
parent8f4ffa6950ace466f9338d5e6960e198ae3813a0
ostree admin: Fix return value from 'ostree admin [instutil]'

'ostree admin' and 'ostree admin instuil' with no arguments were meant to fail,
but the logic was wrong; add an assertion on the return value from all ostree
commands to catch similar problems in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=737194
src/ostree/ot-admin-builtin-instutil.c
src/ostree/ot-builtin-admin.c
src/ostree/ot-main.c